package me.zhengjie.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import me.zhengjie.pojo.entity.ExamPlan;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Description TODO
 * @Author Long
 * @Date 2021/8/12 16:21
 */
@Data
@ApiModel(description = "考试任务随机分配监考教师Dto")
public class ExamPlanDto {

    @ApiModelProperty("分配人数")
    @NotNull(message = "分配人数不可为空")
    private Integer count;

    @ApiModelProperty("考试id")
    @NotNull(message = "考试id不可为空")
    private Integer examId;

    @ApiModelProperty("考试任务")
    private List<ExamPlan> examPlans;

}
